package com.zzq.service;

import com.zzq.pojo.TenderInfo;
import com.zzq.pojo.dto.TenderInfoDTO;
import com.zzq.pojo.vo.FirstTenderInfo;
import com.zzq.pojo.vo.HotTenderInfo;
import com.zzq.pojo.vo.TenderInfoVO;

import java.util.List;

public interface TendererInfoService {
    List<TenderInfoVO> all();


    List<TenderInfo> some();

    void check(int no);

    void elect(int no);

    List<TenderInfo> select(String manufacturer, String state);

    List<TenderInfo> selectByName(String name);

    void add(TenderInfoDTO tenderInfo);

    void update(TenderInfo tenderInfo);

    List<TenderInfo> selectBid(String manufacturer);

    List<HotTenderInfo> getHotTenders(int page, int size);

    void recordView(String projectId);

    List<FirstTenderInfo> gitfirstHotTendererInfo(int page, int size);

    void ourselfDelect(int no);
}
